﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    enum a
    {
        大白菜,
        青菜,
        胡萝卜,
        西红柿
    }
    class CookRobot : Robot
    {
        public a cai { get; set; }
        public CookRobot(a cai)
        {
            this.cai= cai;

        }
        public override void Working()
        {
            Console.WriteLine("做什么菜{0},做什么菜{1},做什么菜{2},做什么菜{3}", a.大白菜, a.青菜, a.胡萝卜, a.西红柿);
        }
    }
}
